package uk.co.aetherworks.gui;

/*
 * Ped-ome
 *
 * MonomeButton - encapsulates monome button position and state
 *
 * Joe Handford aka Knecht 2011
 *
 */ 

public class MonomeButton {
	
	int x, y;
	boolean pressed;
	
	public MonomeButton(int x_val, int y_val)
	{
		x = x_val;
		y = y_val;
		pressed = false;
	}
	
	public int getX()
	{
		return x;
	}
	
	public int getY()
	{
		return y;
	}
	
	public boolean getState()
	{
		return pressed;
	}
	
	public void setState(boolean state)
	{
		pressed = state;
	}
}
